package com.wpzf.ndhc.service.impl;

import com.wpzf.ndhc.utils.TableUtil;
import com.wpzf.ndhc.mapper.WpzfNdhcTbhcjgMapper;
import com.wpzf.ndhc.service.WpzfNdhcTbhcjgService;
import com.wpzf.ndhc.domain.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Base64;
import java.util.List;
import java.util.Map;

@Service
public class WpzfNdhcTbhcjgServiceImpl implements WpzfNdhcTbhcjgService
{
    @Autowired
    WpzfNdhcTbhcjgMapper wpzfNdhcTbhcjgMapper;

    @Override
    public List<WpCjTbhcjgDTO> querytbhcjgBytbbh(Map<String, Object> parm) {
        parm = TableUtil.TableName(parm);
        return wpzfNdhcTbhcjgMapper.querytbhcjgBytbbh(parm);
    }

    @Override
    public List<WpCjTbhcjgHftgzmwjDTO> getHftgzmwj(Map<String, Object> parm) {
        parm = TableUtil.TableName(parm);
        return wpzfNdhcTbhcjgMapper.getHftgzmwj(parm);
    }

    @Override
    public List<WpCjTbhcjgWftgzmwjDTO> getWftgzmwj(Map<String, Object> parms) {
        parms = TableUtil.TableName(parms);
        return wpzfNdhcTbhcjgMapper.getWftgzmwj(parms);
    }

    @Override
    public List<WpCjTbhcjgWfpzwhDTO> getWfpzwh(Map<String, Object> parms) {
        parms = TableUtil.TableName(parms);
        return wpzfNdhcTbhcjgMapper.getWfpzwh(parms);
    }

    @Override
    public List<WpCjTbhcjgQtpzwhDTO> getQtpzwh(Map<String, Object> parms) {
        parms = TableUtil.TableName(parms);
        return wpzfNdhcTbhcjgMapper.getQtpzwh(parms);
    }

    @Override
    public List<WpCjTbhcjgQtsfzygdDTO> getQtsfzygd(Map<String, Object> parms) {
        parms = TableUtil.TableName(parms);
        return wpzfNdhcTbhcjgMapper.getQtsfzygd(parms);
    }

    @Override
    public List<WpCjTbhcjgQtsftgxxydssDTO> getQtsftgxxydss(Map<String, Object> parms) {
        parms = TableUtil.TableName(parms);
        return wpzfNdhcTbhcjgMapper.getQtsftgxxydss(parms);
    }

    @Override
    public Map<String, Object> query_thjg_ywhj_id(Map<String, Object> parms) {
        parms = TableUtil.TableName(parms);
        return wpzfNdhcTbhcjgMapper.query_thjg_ywhj_id(parms);
    }


}
